const Mysql=require('./base')

class OrderGood extends Mysql{
  async OrderMsg(orderId,goodId){
    let result = await this.insert('INSERT INTO ordergood(orderId,goodId)VALUE(?,?)',[orderId,goodId])
    return result.rows
  }
}
module.exports=new OrderGood()